Logo

Web, mobile, programming problem solving

Query table containing spatial datatype over linked server

By admin - Last updated: Friday, March 3, 2017

If the target table containing column with spatial datatype, and you like to do the following query, SELECT * FROM [LinkedServerName].[DatabaseName].dbo.MyPolygon it will return Objects exposing columns with CLR types are not allowed in distributed queries. Please use a pass-through query to access remote object The work around is SELECT * FROM OPENQUERY([LinkedServerName], ‘SELECT * [...]

Filed in SQL

DOS delete all svn related folders or files

By admin - Last updated: Friday, March 3, 2017

Run the command on the dir which contains the versioned files or folders. for /d /r . %d in (.svn) do @if exist “%d” rd /s/q “%d”

Filed in Random

Hello C#

By admin - Last updated: Saturday, May 6, 2017

Hello World C#

Filed in RandomTags: C#